Hi
I've an issue with Sysprep tool when I'm trying to prepare my tablet which is running on Windows 8.1 Pro (64-bit). Here is the information from the setupact.log file
2015-07-14 10:26:41, Info SYSPRP ========================================================2015-07-14 10:26:41, Info SYSPRP === Beginning of a new sysprep run ===
2015-07-14 10:26:41, Info SYSPRP ========================================================
2015-07-14 10:26:41, Info [0x0f004d] SYSPRP The time is now 2015-07-14 10:26:41
2015-07-14 10:26:41, Info [0x0f004e] SYSPRP Initialized SysPrep log at c:\windows\system32\sysprep\Panther
2015-07-14 10:26:41, Info [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
2015-07-14 10:26:41, Info [0x0f007e] SYSPRP FCreateTagFile:Tag file c:\windows\system32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
2015-07-14 10:26:41, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
2015-07-14 10:26:41, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
2015-07-14 10:26:41, Info [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'SHUTDOWN'
2015-07-14 10:26:41, Info [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
2015-07-14 10:26:41, Info SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
2015-07-14 10:26:41, Info [0x0f00ba] SYSPRP SysprepSession::CreateSession: Successfully created instance with mount path C:, action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
2015-07-14 10:26:41, Info SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
2015-07-14 10:26:41, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
2015-07-14 10:26:41, Info SYSPRP ActionPlatform::GetValue: Getting value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep
2015-07-14 10:26:41, Warning SYSPRP ActionPlatform::GetValue: Error from RegQueryValueEx on value SysprepMode under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Setup\Sysprep; dwRet = 0x2
2015-07-14 10:26:41, Info SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
2015-07-14 10:26:41, Info SYSPRP ActionPlatform::GetStringValue: Getting REG_SZ value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
2015-07-14 10:26:41, Info SYSPRP ActionPlatform::GetValue: Getting value PROCESSOR_ARCHITECTURE under key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
2015-07-14 10:26:41, Info SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
2015-07-14 10:26:41, Info [0x0f0080] SYSPRP ActionPlatform::LaunchModule: Found 'Sysprep_Clean_Validate_Opk' in C:\Windows\System32\spopk.dll; executing it
2015-07-14 10:26:41, Error [0x0f00b0] SYSPRP spopk.dll:: Failed to query pending CBS operations; hr = 0x80070422
2015-07-14 10:26:41, Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll; dwRet = 0x422
2015-07-14 10:26:41, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x422
2015-07-14 10:26:41, Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x422
2015-07-14 10:26:41, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x422
2015-07-14 10:26:41, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep cleanup internal providers; hr = 0x80070422
2015-07-14 10:26:42, Info [0x0f0052] SYSPRP Shutting down SysPrep log
2015-07-14 10:26:42, Info [0x0f004d] SYSPRP The time is now 2015-07-14 10:26:42
And more information from the setuperr.log file
2015-07-14 10:26:41, Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll; dwRet = 0x422
2015-07-14 10:26:41, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml; dwRet = 0x422
2015-07-14 10:26:41, Error SYSPRP RunPlatformActions:Failed while validating SysprepSession actions; dwRet = 0x422
2015-07-14 10:26:41, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x422
2015-07-14 10:26:41, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep cleanup internal providers; hr = 0x80070422
I also had a look at the following link:
https://social.technet.microsoft.com/Forums/office/en-US/ed6e91b6-4782-46d1-8111-1cec1fce613b/sysprep-error-with-windows-81?forum=w8itprogeneral
But does not help much as there's no 'upgrade' key in my registry.
Please advise. Thanks.